package com.example.service;


import com.example.config.R;
import com.example.domain.Account;
import com.example.domain.bo.AccountBo;
import com.example.domain.vo.AccountVo;
import com.example.param.ChangePasswordParam;
import com.example.param.DistributeParam;
import com.example.param.InsertParam;
import com.example.param.LoginParam;

import java.util.Collection;
import java.util.List;

/**
 * 进销商账户Service接口
 *
 * @author ruoyi
 * @date 2022-11-22
 */
public interface IAccountService  {

    R login(LoginParam loginParam);

    R changePassword(ChangePasswordParam changePasswordParam);

    R insert(InsertParam insertParam);

    R checkUserName(String username);

    R query(Account account);

    R disable(List<Integer> ids);

    R able(List<Integer> ids);

    R deleteById(List<Integer> ids);

    R getDetail(Long dealerId);
}
